﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LoU.Client.DataContract;
using System.ServiceModel;

namespace LoU.Client.Service
{
    [ServiceContract]
    public interface IService
    {
        [OperationContract]
        OpenSessionResponse OpenSession(OpenSessionRequest request);

        [OperationContract]
        GetServerInfoResponse GetServerInfo(BaseRequest request);

        [OperationContract]
        GetPlayerInfoResponse GetPlayerInfo(BaseRequest request);

        [OperationContract]
        int UpdateDiamonds(UpdateDiamondsRequest request);

        [OperationContract]
        GetResoOptionsResponse GetResoOptions(BaseRequest request);

        [OperationContract]
        Distance[] GetDistance(GetDistanceRequest request);

        [OperationContract]
        GetReportResponse GetReport(GetReportRequest request);

        [OperationContract]
        int ReportGetCount(ReportGetCountRequest request);

        [OperationContract]
        ReportHeader[] ReportGetHeader(ReportGetHeaderRequest request);
    }
}
